package com.example.speeddating.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 * @author tina
 * @since 2023-06-28 11:14:33
 */
@Getter
@Setter
@TableName("authetic_info")
public class AutheticInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 身份证
     */
    private String cardId;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
}
